<?php

$this->TioCachas->addKendo();
$this->Html->script('controllers/Schedules/inscription.js?1', array('block' => 'scriptBottom'));
$appBosch = new stdClass();
$appBosch->urlRead = $this->Html->url(array('action' => 'getMyTests'));
$appBosch->urlRead2 = $this->Html->url(array('action' => 'getMyTests2'));
$appBosch->urlRegister = $this->Html->url(array('controller' => 'Inscriptions', 'action' => 'register'));
$appBosch->urlUnregister = $this->Html->url(array('controller' => 'Inscriptions', 'action' => 'unregister'));
?>
<div class="col-md-6">
    <h2><?php echo __('Próximos cursos'); ?></h2>
    <div id="grid"></div>
</div>
<div class="col-md-6">
    <h2><?php echo __('Cursos inscritos o en proceso'); ?></h2>
    <div id="grid2"></div>
</div>
<?php $this->start('jsVars'); ?>
<script type="text/javascript">
    var appBosch = <?php echo json_encode($appBosch); ?>;
</script>
<?php $this->end();